---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--[[

    右摇杆控制器

]]--
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--- 注册replica
    AddReplicableComponent("right_joystick_controller") -- 控制器replica 注册
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--- hook 进 TheFrontEnd
    require("frontend")
    local TheFrontEnd = _G.FrontEnd
    function TheFrontEnd:SetRightJoystickBlocking(flag)

    end
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--- 装备
    EQUIPSLOTS["RIGHT_JOYSTICK_SPELL_BOOK"] = "right_joystick_spell_book" -- 装备栏：右摇杆控制器
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--- 挂载摇杆控制器
    AddPlayerPostInit(function(inst)
        if not TheWorld.ismastersim then
            return
        end
        inst:AddComponent("right_joystick_controller")
    end)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

